package com.tao.erp.procurement.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tao.erp.procurement.dao.OrderDetailMapper;
import com.tao.erp.procurement.pojo.OrderDetail;
import com.tao.erp.procurement.service.OrderDetailService;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {

	@Autowired
	private OrderDetailMapper detailMapper;

	@Override
	public List<OrderDetail> selectOrderDetailList(Integer orderuuid) {
		return detailMapper.selectOrderDetailList(orderuuid);
	}

	@Override
	public int insertOrderDetail(OrderDetail orderDetail) {
		return detailMapper.insertOrderDetail(orderDetail);
	}
}
